Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a custom meta tag dimension for spelling suggestions #1927

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

kr8n3r
Copy link
Contributor

@kr8n3r kr8n3r commented Nov 1, 2019

Add custom meta tag to the dimensionsMap

We'd like to track spelling suggestions on page view. Previously, we set the value via javascript, but it was too late as the pageview object payload was already sent.

Adding this custom meta tag to the allowed map, will enable us
to track if suggestion are displayed on page view.

Trello ticket

@bevanloon bevanloon temporarily deployed to govuk-static-test-depl-pr-1927 November 1, 2019 14:33 Inactive
@bevanloon bevanloon temporarily deployed to govuk-static-test-depl-pr-1927 November 1, 2019 14:38 Inactive
We'd like to track spelling suggestions on page view. Previously,
we set the value via javascript, but it was too late as the
pageview object payload was already sent.

Adding this custom meta tag to the allowed map, will enable us
to track if suggestion are displayed on page view.
@kr8n3r kr8n3r force-pushed the add-custom-dimension81 branch from 311d2ad to 173d0b9 Compare November 4, 2019 09:56
@kr8n3r kr8n3r changed the title [DO NOT MERGE yet]Add custom dimension81 to dimensionsMap [DO NOT MERGE yet]Add a custom meta tag dimension Nov 4, 2019
@kr8n3r kr8n3r changed the title [DO NOT MERGE yet]Add a custom meta tag dimension Add a custom meta tag dimension Nov 4, 2019
@kr8n3r kr8n3r changed the title Add a custom meta tag dimension Add a custom meta tag dimension for spelling suggestions Nov 4, 2019
@kr8n3r kr8n3r marked this pull request as ready for review November 4, 2019 11:17
kr8n3r added a commit to alphagov/finder-frontend that referenced this pull request Nov 4, 2019
For finders where we show spelling suggestions, we want to
track their page view impressions.
First part of the work is in static
alphagov/static#1927

Here we insert the meta tag into the document head for analtyics script
to pick up.
kr8n3r added a commit to alphagov/finder-frontend that referenced this pull request Nov 4, 2019
For finders where we show spelling suggestions, we want to
track their page view impressions.
First part of the work is in static
alphagov/static#1927

Here we insert the meta tag into the document head for analytics script
to pick up.
@kr8n3r kr8n3r merged commit f789c6d into master Nov 4, 2019
@kr8n3r kr8n3r deleted the add-custom-dimension81 branch November 4, 2019 12:45
kr8n3r added a commit to alphagov/finder-frontend that referenced this pull request Nov 4, 2019
For finders where we show spelling suggestions, we want to
track their page view impressions.
First part of the work is in static
alphagov/static#1927

Here we insert the meta tag into the document head for analytics script
to pick up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants